package net.sesami.nhg.ebd.batch.jaxb.adapter;

import javax.xml.bind.annotation.adapters.XmlAdapter;

public class StringAdapter extends XmlAdapter<String, String> {

	@Override
	public String marshal(String arg0) throws Exception {
		if (arg0 == null) {
			return "";
		}
		return arg0;
	}

	@Override
	public String unmarshal(String arg0) throws Exception {
		if (arg0 == null) {
			return "";
		}
		return arg0;
	}

}
